package com.example.common;

public abstract class Constants {
    public static final String PROBLEM_BASE_URI = "https://imooc.com";
    public static final String PATTERN_MOBILE = "^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\\d{8}$";
    public static final String ROLE_USER = "ROLE_USER";
    public static final String ROLE_ADMIN = "ROLE_ADMIN";
    public static final String CACHE_MFA = "cacheMfa";
    public static final String SUCCESS = "success";
    public static final String FAIL = "fail";
    /**
     * 以下为错误代码，方便查看
     */
    //通用的错误类型10000开头
     //dto校验
    public static final int CODE_10005 = 10005;




}
